package com.powerunion.datacollection.workflow.util.observer;

public class test {

	public static void main(String[] args){
		Stock stock = new Stock();
		StockAlert alert = new StockAlert();
		stock.addOneObserver(alert);
		stock.setPrice(new Float(12.5), new Float(15.3));
		System.out.println("-----");
		stock.setPrice(new Float(17.5), new Float(15.3));
	}
}
